package org.llc.user;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import org.springframework.boot.SpringApplication;

/**
 * 用户信息服务(受保护资源)
 *
 * @author llc
 * @date 2021-04-18
 * @since 1.0.0
 */
@MapperScan({"org.llc.user.dao","org.llc.**.mapper"})
@ComponentScan("org.llc")
@EnableTransactionManagement
@EnableAsync
@SpringCloudApplication
public class UserApplication {

    public static void main(String[] args) {
        SpringApplication.run(UserApplication.class, args);
    }

}

